package chances.declare.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

/**
* @Author WangCC
* @Date 2017年7月25日 下午4:55:32
* chances.declare.entity
* @Version 1.0
*/
@Entity
@Table(name="CS_DECLARE_UNITRELATION")
@Proxy(lazy = false)
public class UnitRelation  implements Serializable{
	
	private static final long serialVersionUID = -4100082047502957721L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY) 
	@Column(name="id")
	private Long id;
	@Column(name = "cp_content_id")
	private Long cpContentId;
	@Column(name = "unit_content_id")
	private Long unitContentId;
	

	
	public Long getUnitContentId() {
		return unitContentId;
	}
	public void setUnitContentId(Long unitContentId) {
		this.unitContentId = unitContentId;
	}
	public void setCpContentId(Long cpContentId) {
		this.cpContentId = cpContentId;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getCpContentId() {
		return cpContentId;
	}

}

